package com.j4dream.domain.factory.impl;

import org.springframework.stereotype.Service;
import org.springframework.util.Assert;

import com.j4dream.dbentity.DailyVolumeDBVO;
import com.j4dream.domain.DailyVolumeDomain;
import com.j4dream.domain.factory.DomainFactoryService;

@Service
public class DomainFactoryServiceImpl implements DomainFactoryService {

	@Override
	public DailyVolumeDomain buildDailyVolume(DailyVolumeDBVO vo) {
		Assert.notNull(vo);
		return new DailyVolumeDomain(vo);
	}

}
